Skip to content

Conversation

methane
Copy link
Member

@methane methane commented Feb 11, 2017

No description provided.

@methane
Copy link
Member Author

methane commented Feb 11, 2017

Patch for Python 3.5 is slightly differ from this PR.
But I'm waiting 3.5 branch has .travis.yml

@methane methane force-pushed the bpo29438/fix-dict-useafterfree branch from c38d9fe to 2dd62f6 Compare February 11, 2017 03:22
@methane methane added the type-bug An unexpected behavior, bug, or error label Feb 11, 2017
@@ -4352,15 +4352,18 @@ _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr,
}
if (value == NULL) {
res = PyDict_DelItem(dict, key);
if (cached != ((PyDictObject *)dict)->ma_keys) {
// key sharing dict doesn't allow deletion.
Copy link
Member

@zhangyangyu zhangyangyu Feb 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as I said this is somewhat misleading and it's better to make it clear.

@methane methane force-pushed the bpo29438/fix-dict-useafterfree branch from 2dd62f6 to bf8bd7e Compare February 11, 2017 05:48
@codecov
Copy link

codecov bot commented Feb 11, 2017

Codecov Report

Merging #17 into master will increase coverage by <.01%.

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage   82.37%   82.37%   +<.01%     
==========================================
  Files        1427     1427              
  Lines      350948   350948              
==========================================
+ Hits       289088   289095       +7     
+ Misses      61860    61853       -7

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7ffb99...bf8bd7e. Read the comment docs.

@methane methane merged commit 2294f3a into python:master Feb 12, 2017
@methane methane deleted the bpo29438/fix-dict-useafterfree branch February 12, 2017 04:51
paulmon added a commit to paulmon/cpython that referenced this pull request Jan 10, 2019
jaraco pushed a commit that referenced this pull request Dec 2, 2022
The `html_url` field takes us to the actual comment on GitHub.
`url` field took us to an API JSON response.
nanjekyejoannah added a commit to nanjekyejoannah/cpython that referenced this pull request Dec 13, 2022
17: warn for ssl r=ltratt a=nanjekyejoannah

Warn for `ssl` features.

Co-authored-by: Joannah Nanjekye <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants